﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for CCAllCards
/// </summary>
/// 
namespace CE.CreditCard
{
    public class CCAllCards
    {
        private Int32 _ccclass;
        private Int32 _orderbytype;
        private Int32 _noofitem;

        //For Applicant Request Table
        private Int64 _cccappreqid;
        private Int64 _refceuserid;
        private string _emailaddress;
        private string _fullname;
        private string _mobileno;
        private string _appdob;
        private string _idtype;
        private Int64 _viewedetailid;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public CCAllCards()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int32 CardClass
        {
            get { return _ccclass; }
            set { _ccclass = value; }
        }
        
        public Int32 OrderByType
        {
            get { return _orderbytype; }
            set { _orderbytype = value; }
        }

        public Int32 NoofItem
        {
            get { return _noofitem; }
            set { _noofitem = value; }
        }
        //For Applicant Request Table

        public Int64 CCCAppReqId
        {
            get { return _cccappreqid; }
            set { _cccappreqid = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public string EmailAddress
        {
            get { return _emailaddress; }
            set { _emailaddress = value; }
        }

        public string FullName
        {
            get { return _fullname; }
            set { _fullname = value; }
        }

        public string MobileNo
        {
            get { return _mobileno; }
            set { _mobileno = value; }
        }

        public string DOB
        {
            get { return _appdob; }
            set { _appdob = value; }
        }

        public string IdType
        {
            get { return _idtype; }
            set { _idtype = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _viewedetailid; }
            set { _viewedetailid = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public void ClearFields()
        {
            _ccclass = 0;
            _orderbytype = 0;
            _noofitem = 0;

            //For Applicant Request Table
            _cccappreqid = 0;
            _refceuserid = 0;
            _emailaddress = "";
            _fullname = "";
            _mobileno = "";
            _appdob = "NULL";
            _idtype = "";
              _viewedetailid = 0;
            _createddate = new DateTime();
            _modifieddate = new DateTime();
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();
        }
    }
}
